package com.start.platform.core.entity;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.TableName;
import com.start.common.dic.DictMapper;
import com.start.common.entity.StartBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "平台粉丝信息")
@TableName("start_platform_fans")
public class StartPlatformFans extends StartBaseEntity {
    @Schema(name = "平台APPID")
    @DictMapper("平台APPID")
    private String platformAppId;
    /**
     * 平台类型
     */
    @Schema(name = "平台类型")
    @DictMapper("平台类型")
    private String platformType;
    @Schema(name = "开放信息Id")
    @DictMapper("开放信息Id")
    private String platformOpenId;
    @Schema(name = "平台用户信息")
    @DictMapper("平台用户信息")
    private JSONObject platformFansInfo;
    @Schema(name = "最后一次登录时间")
    @DictMapper("最后一次登录时间")
    private LocalDateTime platformLastLoginTime;
    @Schema(name = "平台用户id")
    @DictMapper("平台用户id")
    private String platformUserId;


}
